import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import vue3SeamlessScroll from "vue3-seamless-scroll";
import zhLocale from 'element-plus/es/locale/lang/zh-cn'
import Clipboard from 'v-clipboard'
import MetaInfo from 'vue-meta-info';

createApp(App).use(Clipboard).use(MetaInfo).use(vue3SeamlessScroll).use(store).use(router).use(ElementPlus, { locale: zhLocale }).use({
    render: h => h(App),
    mounted() {
        document.dispatchEvent(new Event('render-event'))
    }
}).mount('#app')